package com.gcxy.controller;


import com.gcxy.conf.result.R;
import com.gcxy.service.DataDictionaryService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author hy
 * @since 2023-08-16
 */
@Api(tags = "数据字典")
@RestController
@RequestMapping("/data-dictionary")
public class DataDictionaryController {


    @Autowired
    private DataDictionaryService dataDictionaryService ;

    @ApiOperation("查询数据字典")
    @GetMapping("/queryDicList")
    public R queryDicList(){

      return dataDictionaryService.queryDicList();
    }


}
